package cn.zhagzheguo.xk.util;

import java.util.UUID;

public class UuidUtil {

	/**
	 * 获取一个永不重复的uuid，例：a4ea8d7799b54fbe91d764fc6fec3e35
	 * 
	 * @return
	 */
	public static String getUuid() {
		return UUID.randomUUID().toString().replaceAll("-", "");
	}

	public static void main(String[] args) {
		String id = getUuid();
		System.out.println(id);
	}
}
